<?php

/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/7/4
 * Time: 16:14
 */

namespace app\common\validate;

class Nav extends \think\Validate
{
    protected $rule = [
        'name|导航名'  =>  'require|max:25|token',
        'pid|导航级别' =>  'require|number',
//        'link'=>'require',
        'status' =>'number|in:1,2,3',
    ];

    protected $message = [

    ];

}